mod_perl configuration

mod_perl configuration

am 07.04.2009 11:41:31 von sandhya pawar

--000e0cd179e2e154160466f3d107
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

operating System: Vista
ActivePerl5.10
Apache 2.2.11

mod_perl2.004

Mod_perl has been installed successfully for Perl5.10.

C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd
Downloading mod_perl-2.000004...done
Unpacking mod_perl-2.000004...done
Generating HTML for mod_perl-2.000004...done
Updating files in site area...done
Downloading mod_perl-2.000004 install script...done
Running mod_perl-2.000004 install script...
The Apache2 module mod_perl.so is needed to complete the installation,
and should be placed in your Apache2 modules directory. I will
now fetch and install this for you.

Fetching http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_perl.so ...
done!
Where should mod_perl.so be placed? [D:/Apache2.2/modules] C:\Program
Files\Apac
he Software Foundation\Apache2.2\modules\
mod_perl.so has been successfully installed to
C:/PROGRA~1/APACHE~1/Apache2.2/mo
dules.
To enable mod_perl, put in the directives
LoadFile "C:/Path/to/Perl/bin/perl510.dll"
LoadModule perl_module modules/mod_perl.so
in httpd.conf. For more information, visit
http://perl.apache.org/
and especially see
http://perl.apache.org/docs/2.0/rename.html

done


But it gives the error when I adds the following line in httpd.conf?

LoadModule perl_module modules/mod_perl.so
Error:
The request operation has failed.
Is there need to add the above line in httpd.conf?

--000e0cd179e2e154160466f3d107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

operating System: Vista
ActivePerl5.10
Apache 2.2.11


mod_perl2.004


Mod_perl has been installed successfully for Perl5.10.


C:\>ppm install mod_perl.ppd">http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_ perl.ppd >Downloading mod_perl-2.000004...done
Unpacking mod_perl-2.000004...done=


Generating HTML for mod_perl-2.000004...done
Updating files in site area=
....done
Downloading mod_perl-2.000004 install script...done
Running m=
od_perl-2.000004 install script...
The Apache2 module mod_perl.so is nee=
ded to complete the installation,

and should be placed in your Apache2 modules directory. I will
now fetch=
and install this for you.


Fetching rl.so">http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_per l.so ...=A0=
done!
Where should mod_perl.so be placed? [D:/Apache2.2/modules] C:\Pro=
gram Files\Apac

he Software Foundation\Apache2.2\modules\
mod_perl.so has been successfu=
lly installed to C:/PROGRA~1/APACHE~1/Apache2.2/mo
dules.
To enable m=
od_perl, put in the directives
   LoadFile "C:/Path/to/Perl/bin=
/perl510.dll"

   LoadModule perl_module modules/mod_perl.so
in httpd.conf. For mor=
e information, visit
   http://p=
erl.apache.org/

and especially see
   apache.org/docs/2.0/rename.html">http://perl.apache.org/docs /2.0/rename.htm=
l



done



But it gives the error when I=A0adds the following line in httpd.con=
f?


LoadModule perl_module modules/mod_perl.so


Error:

The request operation has failed.

Is there need to add the above line in httpd.conf?

=A0

=A0

=A0

=A0



--000e0cd179e2e154160466f3d107--

Re: mod_perl configuration

am 07.04.2009 19:07:57 von wrowe

sandhya pawar wrote:
> mod_perl.so has been successfully installed to
> C:/PROGRA~1/APACHE~1/Apache2.2/modules.
> To enable mod_perl, put in the directives
> LoadFile "C:/Path/to/Perl/bin/perl510.dll"
> LoadModule perl_module modules/mod_perl.so
> in httpd.conf. For more information, visit
> http://perl.apache.org/
> and especially see
> http://perl.apache.org/docs/2.0/rename.html
>
> done

Including LoadFile prior to LoadModule?

> But it gives the error when I adds the following line in httpd.conf?
>
> LoadModule perl_module modules/mod_perl.so
>
> Error:
> The request operation has failed.

What does httpd -t say? What does your error log say? What does your
windows application event log say about httpd?